﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;

    public class IShopPrxHelper extends RMIProxyObject implements IShopPrx
    {
        public static const NAME:String = "Message.Game.IShop";

        public function IShopPrxHelper()
        {
            name = "IShop";
            return;
        }// end function

        public function buy_async(param1:AMI_IShop_buy, param2:int, param3:int, param4:int, param5:int, param6:int, param7:Boolean, param8:int) : void
        {
            var _loc_9:* = makeContext(session);
            var _loc_10:* = makeCall("buy");
            var _loc_11:* = new SerializeStream();
            _loc_11.writeInt(param2);
            _loc_11.writeInt(param3);
            _loc_11.writeInt(param4);
            _loc_11.writeInt(param5);
            _loc_11.writeInt(param6);
            _loc_11.writeBool(param7);
            _loc_11.writeInt(param8);
            Outgoing.invokeAsync(_loc_9, _loc_10, _loc_11, param1);
            return;
        }// end function

        public function buyAndUse_async(param1:AMI_IShop_buyAndUse, param2:int, param3:int, param4:int, param5:int, param6:int) : void
        {
            var _loc_7:* = makeContext(session);
            var _loc_8:* = makeCall("buyAndUse");
            var _loc_9:* = new SerializeStream();
            _loc_9.writeInt(param2);
            _loc_9.writeInt(param3);
            _loc_9.writeInt(param4);
            _loc_9.writeInt(param5);
            _loc_9.writeInt(param6);
            Outgoing.invokeAsync(_loc_7, _loc_8, _loc_9, param1);
            return;
        }// end function

        public function buyBack_async(param1:AMI_IShop_buyBack, param2:Array) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("buyBack");
            var _loc_5:* = new SerializeStream();
            SeqStringHelper.write(_loc_5, param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getSellList_async(param1:AMI_IShop_getSellList) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getSellList");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
